module App::View
    class TogglTreeBrief < TogglTree
        def initialize()
            super()

            self.header_hidden = true
            self.indentation = 5

            set_style
        end

        def set_style
            setStyleSheet($model.dropwin_style)
        end

        private
        def modelColumnsModified()
            setColumnHidden 1, true
            setColumnHidden 2, true
            setColumnHidden 3, true
        end

        def itemChanged(item)
            # XXX ha mi is basznank a itt a rezet, akkor loop -ba kerulnenk
            # a TogglTree.itemChanged -el, mivel ez a valtoztatas is signalt
            # emittal.
        end
    end
end
